package com.jing.cloud.service.group.constant;

import com.jing.cloud.util.ErrCode;
import org.springframework.stereotype.Component;

/**
 * Created by 29017 on 2017/9/19.
 */
@Component
public class GroupErrCode {
    public static final int GROUP_NOT_EXIST = 400100001;
    public static final int GROUP_NONE_TO_ADD = 400100002;
    public static final int GROUP_NONE_TO_REMOVE = 400100003;

    static {
        ErrCode.registerErrCode(GROUP_NOT_EXIST, "group not exist");
        ErrCode.registerErrCode(GROUP_NONE_TO_ADD, "none user to add");
        ErrCode.registerErrCode(GROUP_NONE_TO_REMOVE, "none user to remove");
    }
}
